package com.anzia.study_10.data;


import com.anzia.study_10.data.model.User;
import ohos.data.orm.OrmDatabase;
import ohos.data.orm.annotation.Database;
import ohos.data.rdb.RdbOpenCallback;

import java.io.File;

@Database(entities = {User.class}, version = 1)
public class BookStore extends OrmDatabase {
	public BookStore() {
		super();
	}

	@Override
	public void corruptionHandler(File databaseFile) {
		super.corruptionHandler(databaseFile);
	}

	@Override
	public int getVersion() {
		return 0;
	}

	@Override
	public RdbOpenCallback getHelper() {
		return null;
	}
}
